package com.yoomiito.app.ui.order.detail;

import androidx.annotation.Nullable;
import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.yoomiito.app.R;
import com.yoomiito.app.model.bean.WuliuInfo;

import java.util.List;

public class WuLIuAdapter extends BaseQuickAdapter<WuliuInfo, BaseViewHolder> {
    public WuLIuAdapter(@Nullable List<WuliuInfo> data) {
        super(R.layout.item_wuliu_info,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, WuliuInfo item) {
        TextView dateTv = helper.getView(R.id.item_wuliu_date);
        TextView contentTv = helper.getView(R.id.item_wuliu_content);
        dateTv.setText(item.getTime());
        contentTv.setText(item.getContext());
    }
}
